package com.example.reflect.springannotation.scheduler;

import com.example.reflect.springannotation.config.CommonSchedulerBase;
import com.example.reflect.springannotation.entity.IndexEntity;

public class IndexScheduler extends CommonSchedulerBase<IndexEntity,String,String> {

    @Override
    public IndexEntity execute(String o, String s) {
        System.out.println("执行了目标方法,请求参数："+o  + "    "+ s);
        context.setName(o);
        context.setAge(s);
        return context;
    }
}
